<html><body>  <script language="Javascript">
  alert
    ("a");
  alert ( "a\"" ) ;
  alert ( "a \\" ) ;
  alert ( "a \\\" ); echo (" ) ;

      alert('a');
      alert('a\'');

        alert('a \\');

        alert('a \\\' ); echo (') ;

              alert(" a very long string which shouldn't hit wordwrap, even though it's definitely long enough ");
      alert(' a very long string which shouldn't hit wordwrap, even though it\'s definitely long enough ');
</script>
  </body>
</html>